package com.schoolCommunity.service;

import com.schoolCommunity.entity.ConfessionWallMessage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.schoolCommunity.entity.Information;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author YTH
 * @since 2020-09-09
 */
public interface ConfessionWallMessageService extends IService<ConfessionWallMessage> {

    //添加一条表白墙留言
    public Information InsertConfessionWallMessage(ConfessionWallMessage ConfessionWallMessage);

    //删除一条留言
    public Information DeleteConfessionWallMessage(long id);

    //根据表白墙ID获取对应留言
    public Information GetConfessionWallMessage(long ConfessionWallId);

    //获取指定id用户的留言
    public Information GetConfessionWallMessageByMemberId(long MemberId);

    //获取还没有被审核的留言
    public Information GetNotSuggestConfessionWallMessage();

    //审核尚未审核的留言
    public Information AdminSuggestConfessionWallMessage(long confessionWallMessageId, int suggestResult);

}
